﻿<%@ Page Language="C#" MasterPageFile="~/defaultMaster.master" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" Title="Đăng nhập" %>
<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" Runat="Server">
    <br />
    <table border="0" cellpadding="0" cellspacing="0" style="width: 350px;" align="center">
        <tr>
            <td colspan="2"><table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                <tr>
                                    <td style="width: 35px; height: 30px">
                                        <img alt="" src="imgs/header_left.gif" /></td>
                                    <td class="header" style="height: 30px">
                                        <span class="HeaderText">Đăng nhập</span></td>
                                </tr>
                            </table>
                </td>
        </tr>
        <tr>
            <td colspan="2" class="body" valign="top">
                <table border="0" cellpadding="2" cellspacing="0" style="width: 100%">
                    <tr>
                        <td align="right" style="width: 120px; height: 10px">
                        </td>
                        <td style="height: 10px">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" style="height: 24px">
                            [ Cookie phải được trình duyệt hỗ trợ ]<asp:Label ID="lblCookieErr" runat="server"
                                CssClass="Verdana8Red" Text="Trình duyệt không hỗ trợ cookie" Visible="False"></asp:Label></td>
                    </tr>
                    <tr>
                        <td style="height: 24px; width:120px" align="right">
                            Tên đăng nhập:</td>
                        <td style="height: 24px">
                            <asp:TextBox ID="txtUID" runat="server" CssClass="txt" MaxLength="50" Width="150px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUID"
                                Display="None" ErrorMessage="Chưa nhập tên đăng nhập"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td style="height: 24px" align="right">
                            Mật khẩu:</td>
                        <td style="height: 24px">
                            <asp:TextBox ID="txtPWD" runat="server" CssClass="txt" MaxLength="50" TextMode="Password" Width="150px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPWD"
                                Display="None" ErrorMessage="Chưa nhập mật khẩu"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td style="height: 24px">
                        </td>
                        <td style="height: 24px">
                            <asp:Button ID="btnLogin" runat="server" Text="Đăng nhập" CssClass="coolButton" OnClick="btnLogin_Click" /></td>
                    </tr>
                    <tr>
                        <td style="height: 10px">
                        </td>
                        <td style="height: 10px">
                            <asp:Label ID="lblErr" runat="server" CssClass="Verdana8Red" Visible="False">Đăng nhập không hợp lệ</asp:Label></td>
                    </tr>
                    <tr>
                        <td style="height: 10px">
                        </td>
                        <td style="height: 10px">
                            <asp:ValidationSummary ID="ValidationSummary1" runat="server" DisplayMode="List" />
                        </td>
                    </tr>
                    <tr>
                        <td style="height: 10px">
                        </td>
                        <td style="height: 10px">
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <br />
    <br />
</asp:Content>

